package ru.jexp.mvc.snippet;

import java.util.Date;

public class SnippetMVC {
	public static void main(String[] args) {

		SnippetController controller = new SnippetController(new SnippetBean(
				new Date(), new Integer(77)));
		SnippetView view = new SnippetView();
		controller.addListener(view);
		view.addListener(controller);
		controller.init();
		view.enterDate(new Date());
		view.enterInt(new Integer(2008));
	}
}
